<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<style>
#btn_list{
	text-align: center;
}
#btn_list p{
	margin-top: 2%;
}
#btn_list p button{
	width:20%;
}
</style>
<div class="span12 box-content" style=" margin-left: 0px;">
	<div class="well" style="color: #f00">请谨慎操作，清除操作无法撤销</div>
	<div  id="btn_list">
		<p>
				<button class="btn btn-large btn-danger" id="sysset_back"  data-target="#sysset_confirm_box" data-toggle="modal">归档并清空所有数据</button>
		</p>
		<p>
				<button class="btn btn-large btn-danger" id="sysset_delete_back"  data-target="#sysset_confirm_box" data-toggle="modal">清除所有归档</button>
		</p>
		<p>
				<button class="btn btn-large btn-danger" id="sysset_delete_teacher"  data-target="#sysset_confirm_box2" data-toggle="modal">清除所有教师</button>
		</p>
	</div>
</div>
<!-- 删除确认 开始-->
<div class="modal hide fade" id="sysset_confirm_box">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal">×</button>
		<h3>清除</h3>
	</div>
	<div class="modal-body">
		<input type="hidden" name="type"/>
		请输入密码确认:<input type="password" name="password"/>
	</div>
	<div class="modal-footer">
		<a href="#" class="btn" data-dismiss="modal">取消</a>
		<a href="#" class="btn btn-danger" id="sysset_confirm_box_confirm">确认</a>
	</div>
</div>
<!-- 删除确认 结束 -->
<!-- 删除确认2 开始-->
<div class="modal hide fade" id="sysset_confirm_box2">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal">×</button>
		<h3>清除</h3>
	</div>
	<div class="modal-body">
		<input type="hidden" name="type"/>
		选择学院:
				<select  name="college"  style="margin-left: 35px;">
					<option value="0" >所有学院</option>
					<c:forEach items="${colleges }" var="c" >
						<option value="${c.id }" >${c.name }</option>
					</c:forEach>
				</select>
		<br/>
		请输入密码确认:<input type="password" name="password"/>
	</div>
	<div class="modal-footer">
		<a href="#" class="btn" data-dismiss="modal">取消</a>
		<a href="#" class="btn btn-danger" id="sysset_confirm_box2_confirm">确认</a>
	</div>
</div>
<!-- 删除确认2 结束 -->